package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 客房分类
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-02-11 16:51:08
 */
@TableName("kefangfenlei")
public class KefangfenleiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public KefangfenleiEntity() {
		
	}
	
	public KefangfenleiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;


//	public String getKefangfenlei() {
//		return kefangfenlei;
//	}
//
//	public void setKefangfenlei(String kefangfenlei) {
//		this.kefangfenlei = kefangfenlei;
//	}

	public String getKinds() {
		return kinds;
	}

	public void setKinds(String kinds) {
		this.kinds = kinds;
	}

	/**
	 * 客房分类
	 */
					
	private String kinds;
	private String img;

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	private BigDecimal price;

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}




	private String mianji;
	private String louceng;
	private String wangluo;

	public String getMianji() {
		return mianji;
	}

	public void setMianji(String mianji) {
		this.mianji = mianji;
	}

	public String getLouceng() {
		return louceng;
	}

	public void setLouceng(String louceng) {
		this.louceng = louceng;
	}

	public String getWangluo() {
		return wangluo;
	}

	public void setWangluo(String wangluo) {
		this.wangluo = wangluo;
	}

	public String getRenshu() {
		return renshu;
	}

	public void setRenshu(String renshu) {
		this.renshu = renshu;
	}

	public String getChuangxing() {
		return chuangxing;
	}

	public void setChuangxing(String chuangxing) {
		this.chuangxing = chuangxing;
	}

	public String getJieshao() {
		return jieshao;
	}

	public void setJieshao(String jieshao) {
		this.jieshao = jieshao;
	}

	private String renshu;
	private String chuangxing;
	private String jieshao;

	//餐费
	private BigDecimal canfei;
	private BigDecimal meiyoucanfei;

	public BigDecimal getCanfei() {
		return canfei;
	}

	public void setCanfei(BigDecimal canfei) {
		this.canfei = canfei;
	}

	public BigDecimal getMeiyoucanfei() {
		return meiyoucanfei;
	}

	public void setMeiyoucanfei(BigDecimal meiyoucanfei) {
		this.meiyoucanfei = meiyoucanfei;
	}
}
